﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DDD.Infrastructure
{
    public abstract class BaseEntity
    {
        private object id;
        protected BaseEntity() : this(null) { }

        protected BaseEntity(object id)
        {
            this.id = id;
        }

        public object Id
        {
            get { return this.id; }
        }
    }
}
